package com.voice.server.message.sdk;

import com.voice.core.message.AbstractMessage;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PenetrateMessage extends AbstractMessage {

    public String topic="device_message_penetrate";
    private String data;

    public PenetrateMessage(String userId,String deviceKey,byte[] data) {
        super(userId,deviceKey);
        this.data = new String(data);
    }

    public PenetrateMessage(String userId,String deviceKey,String data) {
        super(userId,deviceKey);
        this.data = data;
    }
}
